package com.example.springboot.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class User {
    Integer userId;
    String userName;
    String userClass;
    @JsonFormat(pattern = "yyy-MM-dd")
    Date userBirthDay;
    String loves;
    String character;
    Food food;
}
